<div class="layui-header header">
  <div class="layui-main">
    <a class="logo" href="#" target="_blank">
      <img src="__PUBLIC__/images/ logo-top.png" alt="Lz_CMS">
    </a>
    <ul class="layui-nav top-nav-container">
      <li class="layui-nav-item layui-this">
        <a href="javascript:void(0)">首页</a>
      </li>
      <li class="layui-nav-item">
        <a href="javascript:void(0)">内容</a>
      </li>
      <!--<li class="layui-nav-item">-->
        <!--<a href="javascript:void(0)">会员</a>-->
      <!--</li>-->
      <li class="layui-nav-item">
        <a href="javascript:void(0)">设置</a>
      </li>
      <li class="layui-nav-item">
        <a href="javascript:void(0)">测试</a>
      </li>
    </ul>
    <div class="top_admin_user">
      {if condition="'$Think.session' eq ''"}
      <a href="javascript:void(0);">{$Think.session.username}</a> |
      {/if}
      <a href="/" target="_blank">网站首页</a> |
      <a id="clear_cache" href="#">更新缓存</a> |
      <a class="logout_btn" href="{:url('admin/login/loginout')}">退出</a>
    </div>
  </div>
</div>
<div class="layui-side layui-bg-black">
  <div class="layui-side-scroll">
    <ul class="layui-nav layui-nav-tree left_menu_ul">
      <li class="layui-nav-item layui-nav-title">
        <a href="#">系统管理</a>
      </li>
      <li class="layui-nav-item first-item layui-this">
        <a href="{:url('index/home')}" target="main">
          <i class="layui-icon">&#xe614;</i>
          <cite>系统信息</cite>
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="{:url('admin/edit',array('id'=>1))}" target="main">
          <i class="layui-icon">&#xe642;</i>
          <cite>管理员密码修改</cite>
        </a>
      </li>
      <!--<li class="layui-nav-item ">-->
      <!--<a href="./form.html" target="main">-->
      <!--<i class="layui-icon">&#xe642;</i>-->
      <!--<cite>表单</cite>-->
      <!--</a>-->
      <!--</li>-->
    </ul>
    <ul class="layui-nav layui-nav-tree left_menu_ul content_put_manage hide">
      <li class="layui-nav-item layui-nav-title">
        <a>内容发布管理</a>
      </li>
      <li class="layui-nav-item first-item">
        <a href="{:url('article/index_cate')}" target="main">
          <i class="layui-icon">&#xe609;</i>
          <cite>栏目管理</cite>
        </a>
      </li>
      <li class="layui-nav-item content_manage">
        <a href="{:url('article/index_article')}" target="main">
          <i class="layui-icon">&#xe60a;</i>
          <cite>内容管理</cite>
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="{:url('Notice/index')}" target="main">
          <i class="layui-icon">&#xe638;</i>
          <cite>公告管理</cite>
        </a>
      </li>
    </ul>
    <ul class="layui-nav layui-nav-tree left_menu_ul setting_ul hide">
      <li class="layui-nav-item layui-nav-title">
        <a>相关设置</a>
      </li>
      <li class="layui-nav-item first-item ">
        <a href="{:url('Sys/site',array('id'=>1))}" target="main">
          <i class="layui-icon">&#xe620;</i>
          <cite>站点设置</cite>
        </a>
      </li>
        <!--<li class="layui-nav-item">
          <a href="" target="main">
            <i class="layui-icon">&#xe612;</i>
            <cite>站长信息</cite>
          </a>
        </li>
        <li class="layui-nav-item">-->
        <!--<a href="#" target="main">-->
          <!--<i class="layui-icon"></i>-->
          <!--<cite>SEO设置</cite>-->
        <!--</a>-->
      <!--</li>-->
      <!--<li class="layui-nav-item">-->
        <!--<a href="" target="main">-->
          <!--<i class="layui-icon">&#xe634;</i>-->
          <!--<cite>水印设置</cite>-->
        <!--</a>-->
      <!--</li>-->
      <!--<li class="layui-nav-item">-->
        <!--<a href="" target="main">-->
          <!--<i class="layui-icon">&#xe63a;</i>-->
          <!--<cite>畅言评论设置</cite>-->
        <!--</a>-->
      <!--</li>-->
      <li class="layui-nav-item">
        <a href="" target="main">
          <i class="layui-icon">&#xe611;</i>
          <cite>QQ登陆设置</cite>
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="{:url('Links/lst')}" target="main">
          <i class="layui-icon">&#xe62c;</i>
          <cite>友情连接</cite>
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="{:url('Ad/lst')}" target="main">
          <i class="layui-icon">&#xe64a;</i>
          <cite>广告设置</cite>
        </a>
      </li>
    </ul>
    <ul class="layui-nav layui-nav-tree left_menu_ul setting_ul hide">
      <li class="layui-nav-item layui-nav-title">
        <a>aaaa</a>
      </li>
      <li class="layui-nav-item first-item ">
        <a href="" target="main">
          <i class="layui-icon">&#xe620;</i>
          <cite>ddd</cite>
        </a>
      </li>
    </ul>

    <div class="content_manage_container left_menu_ul hide">
      <div class="content_manage_title">内容管理</div>
      <div id="content_manage_tree"></div>
    </div>
  </div>
</div>
<script type="text/javascript">
    $("#clear_cache").click(function(){
        $.ajax({
            url: "{:url('admin/index/clear_cache')}",
            data: $("form").serialize(),
            type: "POST",
            datatype:"json",
            success: function( result ) {
                layer.open({
                    title: '信息'
                    ,content: '清除缓存成功！'
                });
            }
        });
    });
</script>